package ch01.shili.shili6;

public class Person {
    public static void main(String[] args) {
        try {
            Class clz = Class.forName("reflect.entity.Person");
            Object obj = clz.newInstance();
            System.out.println(obj);
        } catch (ClassNotFoundException e) {
            e.printStackTrace();
        } catch (InstantiationException e) {
            e.printStackTrace();
        } catch (IllegalAccessException e) {
            e.printStackTrace();
        }
    }
}
